/*
  to | from -> {
    path String 绝对路径
    query Object 路由参数
    method String 跳转方法  from private
    page Object 页面实例  from private
  }
*/
module.exports = {
  // 路由拦截
  beforeEnter(to, from, next) {
    next()
    // console.log(to)
    // if (to.path === '/pages/user/user') {
    //   next('/pages/other/other?tip=yes')
    // } else {
    //   next()
    // }
  }
}

